from brian import *

# Half Activation Vh, Slopes S, Time Constants Tau
Vhm = -35*mV
Sm = -7.8*mV
Vhh = -55*mV
Sh = 7*mV
Vhn = -28*mV
Sn = -15*mV
VhmN = -30*mV
SmN = -5*mV
VhhN = -45*mV
ShN = 5*mV
VhmL = -40*mV
SmL = -7*mV
Vhmnap = -47.1*mV
Smnap = -3.1*mV
Vhhnap = -59*mV
Shnap = 8*mV
TaumN = 4 *ms
TauhN = 40*ms
TaumL = 40*ms
Taum = 0.000001*ms
Taumnap = Taum
C = 1 * uF/cm**2

tausyn = 5*ms

# Reversal potentials in mV
ENa = 55 * mV
EK = -80 * mV
ECa = 80 * mV
Ee=-10*mV
Ei=-70*mV

gId = 0.05*msiemens*cm**-2
gEd = 0.05*msiemens*cm**-2
gSynE = 0.05*msiemens*cm**-2
gSynI = 0.05*msiemens*cm**-2


mu = 0*uA*cm**-2
sigma = .08*uA*cm**-2
invtau_rand = 1/(20*ms)